package com.anxinr.pojo.entity;

import com.anxinr.pojo.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.lang.NonNull;

import java.io.Serializable;

/**
 * 用户
 *
 * @author anxinr
 */
@Data
public class User implements Serializable {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("id")
    private Long id ;
    @ApiModelProperty("用户名称")
    private String realName ;
    @ApiModelProperty("账号名称")
    private String userName ;
    @ApiModelProperty("密码")
    private String password ;
    @ApiModelProperty("手机号码")
    private String phone ;
    @ApiModelProperty("是否管理员（店长）")
    private Integer isAdmin ;
}
